package com.shangcheng.model.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor  //满参构造方法
@NoArgsConstructor   //无参构造方法
@TableName("ums_admin")
public class Admin  implements Serializable {
    private Long id;
    private String username;
    private String password;
    private String icon;   //头像
    private String email;  //邮箱
    private String nickName;    //昵称
    private String note;   //备注信息
    private Integer status;  //帐号启用状态：0->禁用；1->启用

    private Date createTime;   //创建时间
    private Date loginTime;    //最后登录时间
}
